package cn.iocoder.yudao.module.english.controller.admin.level.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 级别管理新增/修改 Request VO")
@Data
public class LevelManagementSaveReqVO {

    @Schema(description = "ID主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "7800")
    private Long id;

    @Schema(description = "父级别ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "3935")
    @NotNull(message = "父级别ID不能为空")
    private Long parentId;

    @Schema(description = "级别名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "级别名称不能为空")
    private String levelName;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "备注", example = "你猜")
    private String remark;

}